package com.soloyogame.anitoys.service.impl;import com.soloyogame.anitoys.core.ServersManager;import com.soloyogame.anitoys.db.commond.AccountAddress;import com.soloyogame.anitoys.db.dao.AccountAddressDao;import com.soloyogame.anitoys.service.AccountAddressService;import org.springframework.stereotype.Service;import javax.annotation.Resource;/** * 我的收货地址的service接口实现 * @author 索罗游 */@Servicepublic class AccountAddressServiceImpl extends ServersManager<AccountAddress, AccountAddressDao> implements	AccountAddressService {    @Resource    @Override    public void setDao(AccountAddressDao addressDao) {        this.dao = addressDao;    }	public void setAddressDefault(AccountAddress address) {		dao.initAllAddress(address);        dao.update(address);//设置指定的地址为默认地址	}}